﻿using System;
namespace BIN
{
    public enum SERVICE_STATUS
    {
      STOP =0, //正停止
      START=1   //正启动
    }
    public  class ServiceEventArgs :EventArgs
    {
        private string _serviceName="";
        private string _serviceDesc="";
        private SERVICE_STATUS _Status = SERVICE_STATUS.START;
        public string ServiceName { get { return _serviceName; } }
        public string ServiceDesc { get { return _serviceDesc; } }
        public SERVICE_STATUS Status { get { return _Status; } }
        public ServiceEventArgs(string serviceName, string serviceDesc,
            SERVICE_STATUS serviceStatus)
            : base()
        {
            this._serviceDesc = serviceDesc;
            this._serviceName = serviceName;
            this._Status = serviceStatus;
        }
    }
}
